package larrys.pomodoro.controller.pages.common;

import larrys.pomodoro.Constant;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HomeController {

	@RequestMapping("/home")
	public String home(Model model) {
		model.addAttribute(Constant.ACTIVIE_ATTRNAME, "Home");
		return "common/home";
	}

	@RequestMapping("/home/pomodorodetail")
	public String pomodorodetail(Model model) {
		model.addAttribute(Constant.ACTIVIE_ATTRNAME, "Home");
		return "common/pomodorodetail";
	}
}
